Spread WPF 18
GrapeCity.Wpf.SpreadSheet.Xaml Namespace / XamlCollection<T> Class / IndexOf Method
The sheet to find the index for.


In This Topic
    IndexOf Method (XamlCollection<T>)
    In This Topic
    Gets the index of a sheet.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal item As T _
    ) As Integer
    'Usage
     
    Dim instance As XamlCollection(Of T)
    Dim item As T
    Dim value As Integer
     
    value = instance.IndexOf(item)
    public int IndexOf( 
       T item
    )

    Parameters

    item
    The sheet to find the index for.

    Return Value

    The index of the sheet. -1 means the sheet is not in the list.
    See Also